<%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2021/10/25
  Time: 19:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%--我们的Servlet类最后会被打包到web目录下,所以action是下面这种路径--%>
<form action="../helloServlet" method="post">
    <input type="text" name="method">
    <input type="submit" value="提交">
</form>
</body>
</html>
